#include <bits/stdc++.h>
using namespace std;

char str[60][1005] = {0};

int main(void) {
	int n;
	cin >> n;
	int arr[50] = {0};
	for (int i = 1; i <= n; i++) {
		arr[i] = i;
	}
	return 0;
}